package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class SearchInConditionDTO extends BaseDTO {
    private static final long serialVersionUID = 1981029088654133353L;
    /**
     * 字段类型不能为空
     */
    @NotNull(message = "字段类型不能为空")
    private Integer fieldType;
    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * 页数
     */
    private Integer page;

    /**
     * 每页行数
     */
    private Integer pageSize;
    /**
     * 模糊搜索的值
     */
    private Object value;
    /**
     * 需要检索的值
     */
    private List<Object> valueList;
}
